@import '@app/common.less';
.sketchList {
  padding: 0 15px;
  width: 258px;
  background: #FFFFFF;
  border-right: 1px solid #E0E0E0;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    > span {
      font-weight: 400;
      font-size: 18px;
      line-height: 21px;
      color: #2F3A4A;
    }
    .addBtn {
      padding: 0;
      display: flex;
      align-items: center;
      color: @blue;
      &:hover, &:active, &:focus {
        background: none;
      }
      svg {
        color: @blue;
        width: 17px;
        height: 17px;
      }
    }
  }
  .searchInput {
    border: 1px solid #D9D9D9;
    border-radius: 3px;
    height: 45px;
    margin-bottom: 15px;
    svg {
      color: rgba(151, 151, 151, 1);
      width: 20px;
      height: 20px;
    }
  }
  .thumbnailList {
    overflow: auto;
    &::-webkit-scrollbar {
      display: none;
    }
    .item {
      width: 100%;
      height: 160px;
      border: 1px solid #BDBDBD;
      box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
      border-radius: 3px;
      margin-bottom: 15px;
      padding: 12px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      position: relative;
      &.active {
        border: 4px solid @blue;
      }
      &:hover {
        .count {
          opacity: 1;
        }
      }
      .itemHeader {
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .count {
        position: absolute;
        bottom: 12px;
        font-weight: 400;
        font-size: 10px;
        line-height: 12px;
        color: #828282;
        margin-top: 6px;
        background-color: transparent;
        opacity: 0;
      }
      .snapshot {
        flex: 1;
        background-repeat:no-repeat;
        background-size: contain;
        background-position:center;
      }
      .title {
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;
        color: @headerBlack;
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 85%;
      }
      .closeBtn {
        width: 15px;
        height: 15px;
        color: #000;
        cursor: pointer;
      }
    }
  }
}